package cn.afactory.tygz.ui.activities;

import android.os.Bundle;
import android.widget.TextView;

import cn.afactory.tygz.R;
import cn.afactory.tygz.model.SysMessageItem;
import cn.afactory.tygz.ui.base.BaseActivity;

/**
 * Created by xi on 15/11/5.
 */
public class SysMessageDetailActivity extends BaseActivity {

    private TextView msg_tv;
    @Override
    protected void onCreate(Bundle arg0) {
        super.onCreate(arg0);
        setContentView(R.layout.ac_sys_message_detail);

        setTitleText("消息详情");
        msg_tv = (TextView) findViewById(R.id.msg_tv);
        SysMessageItem sys = (SysMessageItem) getIntent().getSerializableExtra("msg");
        msg_tv.setText(sys.msg);
    }
}
